package com.ruoyi.facility.service;

import java.util.List;
import com.ruoyi.facility.domain.CommerceFacility;

/**
 * 设施用品Service接口
 * 
 * @author zhezhi
 * @date 2022-10-01
 */
public interface ICommerceFacilityService 
{
    /**
     * 查询设施用品
     * 
     * @param facilityId 设施用品主键
     * @return 设施用品
     */
    public CommerceFacility selectCommerceFacilityByFacilityId(Long facilityId);

    /**
     * 查询设施用品列表
     * 
     * @param commerceFacility 设施用品
     * @return 设施用品集合
     */
    public List<CommerceFacility> selectCommerceFacilityList(CommerceFacility commerceFacility);

    /**
     * 新增设施用品
     * 
     * @param commerceFacility 设施用品
     * @return 结果
     */
    public int insertCommerceFacility(CommerceFacility commerceFacility);

    /**
     * 修改设施用品
     * 
     * @param commerceFacility 设施用品
     * @return 结果
     */
    public int updateCommerceFacility(CommerceFacility commerceFacility);

    /**
     * 批量删除设施用品
     * 
     * @param facilityIds 需要删除的设施用品主键集合
     * @return 结果
     */
    public int deleteCommerceFacilityByFacilityIds(Long[] facilityIds);

    /**
     * 删除设施用品信息
     * 
     * @param facilityId 设施用品主键
     * @return 结果
     */
    public int deleteCommerceFacilityByFacilityId(Long facilityId);
}
